﻿using System;
using System.Collections.Generic;

namespace OurSite.Business.Category
{
    public interface ICategoryRepository
    {
        void Add(Category category);
        void AddEventCategory(Guid eventId, Guid categoryId);
        void DeleteEventCategory(Guid eventId, Guid categoryId);
        Category GetById(Guid id);
        Category GetByName(string name);
        IList<Category> GetByEventId(Guid id);
        IList<Category> GetAllParentCategories();
        IList<Category> GetSubCategories(Guid parentId);
        List<CategoryLight> GetAllCategories();
    }
}
